<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>推送消息详细</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="/gradesign/css/bootstrap.min.css"/>
	<link href="/gradesign/css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen"/>
	<!-- Latest compiled and minified CSS -->
	<link rel="stylesheet" type="text/css" href="/gradesign/css/bootstrap-table.min.css"/>
    <style type="text/css">
    	#addIncomeModal,#editIncomeModal{margin-top:5%;margin-left:5%;margin-right:5%}
    	.second,.third{
            display: none;
        }
		.container{
			margin-top:1%;
		}
		body{
        background:transparent;
            line-height: 2.5;
   		}
   		.form-group{
   			margin-top:10px;
   		}
   		#content{width:80%;margin-left:10%;border:1px solid #f4f4f4}
   		#memberAdd{margin:5%}
   		form{margin: 30px;}
    </style>
</head>
<body>
<div class="container">
	<div id="content">
		<div id="mailSend">
		<form class="form-inline" th:each="msg : ${msg}" >
			
			<div class="form-group" style="text-align:center">
				<h3 style="align:center">推送消息信息</h3>
			</div>
			<div class="row">
				<div class="col-sm-6 form-group">
					<label class="col-sm-4" for="msg_author">作者：</label>
					<div class="col-sm-8" >
						<input type="text" id="msg_author" class="form-control" th:value="${msg.author}" />
					</div>
				</div>
				<div class="col-sm-6 form-group">
					<label class="col-sm-4" for="msg_reciver">接收人：</label>
					<div class="col-sm-8" >
						<input type="text" id="msg_reciver" class="form-control" th:value="${msg.reciver}" />
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-sm-6 form-group">
					<label class="col-sm-4" for="msg_readed">是否已读：</label>
					<div class="col-sm-8" >
						<input type="text" id="msg_readed" class="form-control" th:value="${msg.readed}"/>
					</div>
				</div>
				<div class="col-sm-6 form-group">
					<label class="col-sm-4" for="msg_type">类型：</label>
					<div class="col-sm-8" >
						<input type="text" id="msg_type" class="form-control" th:value="${msg.type}" />
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-sm-6 form-group">
					<label class="col-sm-4" for="created_time">创建时间：</label>
					<div class="col-sm-8" >
						<input type="text" id="created_time" class="form-control" th:value="${msg.created_time}"/>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-sm-12 form-group">
					<label class="col-sm-2" for="created_time">消息内容：</label>
					<div class="col-sm-8" >
						<textarea style="width: 400px;height: 100px;margin-left: -5px;" type="text" id="created_time" class="form-control" th:text="${msg.content}" />
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-sm-12 form-group" style="text-align:center">
					<button type="button" class="btn btn-primary" style="width:100px;align:center" id="emailBackBtn" onclick="back_msg()">返回</button>
				</div>
			</div>
			
		</form>
	</div>
	</div>
	
</div>
</body>
<script type="text/javascript" src="/gradesign/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/gradesign/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/gradesign/js/bootstrap-datetimepicker.min.js" charset="UTF-8"></script>
<script type="text/javascript" src="/gradesign/js/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.1/bootstrap-table.min.js"></script>
<!-- Latest compiled and minified Locales -->
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.1/locale/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript">
	function back_msg(){
		window.location.href="/gradesign/back/msg/index";
	}
</script>
</html>